package com.junjiao.util.spring.aop;

public class MusicSinger implements Singer{

	private String name;
    public MusicSinger(String name) {
       this.name = name;
    }
    @Override
    public String getName() {
       return this.name;
    }
    @Override
    public void sing() {
       System.out.println("我是: " + this.name + " .我开始唱歌!!");
    	   System.out.println("测试异常");
    	   throw new IllegalArgumentException("测试异常"); 
	   
    }
}
